﻿@model PilotMVC.Models.LogOnModel

<link href="../../Content/items1/LogOn.css" rel="stylesheet" type="text/css" />


<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

<div id="errorMessage"> @Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.") </div>
<div id="login">
@using (Html.BeginForm())
{
    <div><h3>Log In</h3>  </div> 
     <fieldset id="inputs">
 
                <div id="username" >                  
                    @Html.TextBoxFor(m => m.UserName)                                 
                </div>

                <div id="password">                 
                    @Html.PasswordFor(m => m.Password)                    
                </div>   
   
        </fieldset>   

        <fieldset id="actions">
              <p> <input type="submit" id="submit" value="LogOn"/> </p>         
        </fieldset>
                    <p> </p>
                   @Html.ValidationMessageFor(m => m.UserName) <br />
                   @Html.ValidationMessageFor(m => m.Password)  <br />
    
}
</div>

